<?php
Util::tsRegisterAssetJs('adminInfoCS.js');
/** @var CartaNutricionalController $this */
/** @var CartaNutricional $model */
if (Yii::app()->user->checkAccess("nutricion")):
    $this->menu = array(
        array('label' => Yii::t('AweCrud.app', 'Create') . ' ' . CartaNutricional::label(), 'icon' => 'plus', 'url' => array('/carta/cartaAlimentos/ajaxMaestro')),
        array('label' => Yii::t('AweCrud.app', 'Create') . ' ' . InfoCartaSemanal::label(), 'icon' => 'plus', 'url' => array('create')),
    );

endif;
?>
<div class="row-fluid">
    <div class="span10" >
        <?php
        $this->beginWidget('zii.widgets.CPortlet', array(
            'title' => InfoCartaSemanal::label(),
        ));
        ?>
        <br>
        <div class="row-fluid" style="overflow:auto;">
            <?php
            $widget->run();
            ?>
        </div>
        <?php $this->endWidget(); ?>
        <center>
            <?php
            $this->widget('bootstrap.widgets.TbButton', array(
                'label' => Yii::t('AweCrud.app', 'Regresar'),
                'url' => '../cartaNutricional/contenidos',
                'icon' => 'icon-hand-left',
            ));
            ?>
        </center>
    </div>

    <div class="span2">
        <?php
        $this->beginWidget('zii.widgets.CPortlet', array(
            'title' => 'Operaciones',
        ));
        $this->widget('zii.widgets.CMenu', array(
            'items' => $this->menu,
            'htmlOptions' => array('class' => 'operations'),
        ));
        $this->endWidget();
        ?>

    </div>


</div>

<form id="formId" method="post" target="blank">
    <input type="hidden" id="id_InfoSemanal" name="InfoSemanal">
</form>